home *** CD-ROM | disk | FTP | other *** search
- To compile gif2png for your machine do the following:
-
- 68000 based system:
- cd src
- make -f makefile.gcc.000 all-lib
-
- >= 68020 based system:
- cd src
- make -f makefile.gcc.020 all-lib
-
- >= 68040 based system:
- cd src
- make -f makefile.gcc.040 all-lib
-
- Each of these leaves you with a file called gif2png in the current directory.
- If you want to regenerate all three supplied executables, you should move
- the resultant gif2png to somewhere else and clean up between compiles.
- Cleaning up requires the following steps (which I should integrate into
- the makefiles sometime) assuming your current directory is still gif2png-0.6/src:
- rm *.o gif2png
- cd libpng-0.88
- make -f makefile.gcc.000 clean ; (or .020 or .040)
- cd /zlib-1.0.2
- make -f makefile.gcc.000 clean ; (or .020 or .040)
- cd /
-
- If you want to customize the makefile, I recommend making
- a copy of makefile.gcc.0x0 and editing that copy.
- Note: Makefiles for libpng.a and libz.a should be adjusted accordingly.
- And change lines
- cd $(PNGLIB) ; make -f ...
- and cd $(ZLIB) ; make -f ...
- accordingly.
-
- The directories gif2png, libpng-0.88 and zlib-1.0.2 are unmodified
- distributions of the original sources as found in
- ftp://ftp.uu.net/graphics/png/applications/gif2png0.6.zip
- ftp://ftp.uu.net/graphics/png/libpng-0.88.tar.gz
- ftp://ftp.uu.net/graphics/png/zlib-1.0.2.tar.gz
- I only added the appropriate makefiles.
-